﻿<Page
    x:Class="MatriXSamples.MainPage"
    IsTabStop="false"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:MatriXSamples"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">
    
    <StackPanel Background="{StaticResource ApplicationPageBackgroundThemeBrush}">
        <!--<Button Content="Button" HorizontalAlignment="Left" VerticalAlignment="Top" Click="Button_Click_1"/>-->
        
        <GridView x:Name="ImageOverlayGalleryFolderGrid" 
          CanReorderItems="True" CanDragItems="True" AllowDrop="True" SelectionMode="None" IsItemClickEnabled="True"
          ItemTemplate="{StaticResource ImageOverlayGalleryFolderDataTemplate}" ItemsSource="{Binding}" ItemClick="ImageOverlayGalleryFolderGrid_ItemClick">
            <GridView.ItemsPanel>
                <ItemsPanelTemplate>
                    <WrapGrid MaximumRowsOrColumns="5" 
                      VerticalChildrenAlignment="Top" HorizontalChildrenAlignment="Center" />
                </ItemsPanelTemplate>
            </GridView.ItemsPanel>
        </GridView>
        <!--
        <GridView x:Name="gvContacts" ItemsSource="{Binding}">
            <GridView.ItemTemplate>
                <DataTemplate>
                    <StackPanel>
                        <TextBlock Text="{Binding Name}" />
                        <Image Source="{Binding Avatar}" Height="50" Width="50"/>
                    </StackPanel>
                </DataTemplate>
            </GridView.ItemTemplate>
        </GridView>
        -->
    </StackPanel>
    <!--<Grid Background="{StaticResource ApplicationPageBackgroundThemeBrush}">
        
        
        <ListView x:Name="lstRoster" HorizontalAlignment="Left" Height="456" Margin="140,142,0,0" VerticalAlignment="Top" Width="218" ItemsSource="{Binding}">
            <ListView.ItemTemplate>
                <DataTemplate>
                    <StackPanel>
                        <TextBlock Text="{Binding Name}" Margin="2" />
                        <Image Source="{Binding Avatar}"/>
                    </StackPanel>
                    
                </DataTemplate>
            </ListView.ItemTemplate>    
        </ListView>
        
        
    </Grid>-->
</Page>
